// 菜单数据
// 组件的props和一些联合类型使用type，其他使用interface
export interface MenuDataItem {
  path: string;
  title: string;
  icon?: string;
  children?: MenuDataItem[];
}

// 个人中心菜单数据【不为权限菜单，仅提供面包屑数据】
export const personalMenus: MenuDataItem[] = [
  {
    path: "/personal",
    title: "个人中心"
  }
];

export const menuTree: MenuDataItem[] = [
  {
    path: "/document",
    title: "文档",
    icon: "icon-wendang"
  },
  {
    path: "/table",
    title: "列表页",
    icon: "icon-table"
  },
  {
    path: "/nest",
    title: "嵌套页面",
    icon: "icon-qiantao",
    children: [
      {
        path: "/nest/nest1",
        title: "嵌套页面1"
      },
      {
        path: "/nest/nest2",
        title: "嵌套页面2"
      }
    ]
  }
];
